<h2>Manage watch lists</h2>
<div id="watchlist-wrapper">
    <p class="message"></p>
        
    <div id="watchlist-list">
        <p>Current list :</p>
        <?php $this->load->view('manage/watchlist/watchlist', array('arrWatchList'=>$arrWatchList)) ?>
    </div>
    
    <div id="watchlist-add">
        <p>Choose some pairs :</p>
        <form name="frmaddwatchlist" id="frmaddwatchlist" action="#">
            <?php
                $returnData = array(
                        'arrSymbol' => $arrSymbol, 
                        'arrSelect' => array(),
                        'max1' => 10, 
                        'max2' => 30
                    );
                $this->load->view('manage/watchlist/pairslist', $returnData); 
            ?>
        </form>
    </div>
    <div id="watchlist-command">
        <p>Watch list info :</p>
        <input class="text" type="text" id="watchlistname" name="watchlistname" placeholder="Name of watch list" /><br /><br />
        <button id="showmore" type="button" class="button orange w83" onclick="showMore('.hiddenPanel');">More</button>
        <button id="btnadd" type="button" class="button orange" onclick="addWatchList('<?php echo base_url(array('watchlist', 'addwatchlist')); ?>', '<?php echo base_url(array('watchlist', 'reloadwatchlist')); ?>');">Add new</button>
        <button style="display: none;" id="btnupdate" type="button" class="button orange" onclick="doUpdateWatchList('<?php echo base_url(array('watchlist', 'doupdatewatchlist')); ?>', '<?php echo base_url(array('watchlist', 'reloadwatchlist')); ?>');">Update</button>
        <button style="display: none;" id="btncancelupdate" type="button" class="button orange" onclick="cancelUpdate();">Cancel</button>
    </div>
</div>